package com.atguigu.mybatis021.mapper;

import com.atguigu.mybatis021.pojo.Employee;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface EmpMapper {
    Employee getEmpId(Integer id);

    void addEmp(Employee employee);

    void updateEmpId(Employee employee);

    void deleteEmpId(Integer id);

    List<Employee> getEmps();

}
